<div class="el-dialog">
    <header class="el-dialog__header">
        <span  class="el-dialog__title">添加角色</span>
        <button  data-bs-dismiss="modal" aria-label="Close" class="el-dialog__headerbtn" type="button">
            <i class="el-icon el-dialog__close">
                <svg viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg">
                    <path fill="currentColor" d="M764.288 214.592 512 466.88 259.712 214.592a31.936 31.936 0 0 0-45.12 45.12L466.752 512 214.528 764.224a31.936 31.936 0 1 0 45.12 45.184L512 557.184l252.288 252.288a31.936 31.936 0 0 0 45.12-45.12L557.12 512.064l252.288-252.352a31.936 31.936 0 1 0-45.12-45.184z"></path>
                </svg>
            </i>
        </button>
    </header>
    <!--顶部-->
     <form method="post" onsubmit="return post_add(this,'{:url('add')}')">
    <div class="el-dialog__body">
        <!--内容-->
       <div class="mb-3 row">
            <label class="col-sm-2 col-form-label">名称</label>
            <div class="col-sm-10">
              <input type="text" name="rolename" class="form-control" placeholder="请输入角色名称">
            </div>
          </div>   
          

          <div class="mb-3 row">
            <label class="col-sm-2 col-form-label">描述</label>
            <div class="col-sm-10">
              <input type="text" name="description" class="form-control" placeholder="请输入角色描述">
            </div>
          </div> 

          
        <div class="mb-3 row">
            <label class="col-form-label col-sm-2 pt-0">启用</label>
            <div class="col-sm-10 dis-jus">
             <div class="form-check">
                <input class="form-check-input" type="radio" name="disabled" value="0" id="disabled">
                <label class="form-check-label" for="disabled">
                  是
                </label>
              </div>
              
              <div class="form-check">
                <input class="form-check-input" type="radio" name="disabled" value="1" id="disabled1">
                <label class="form-check-label" for="disabled1">
                  否
                </label>
              </div>
              
           </div>
          </div> 
          <input type="hidden" name="__token__" value="{:token()}" />
          
         <!--内容-->
    </div>
    <!--底部-->
    <footer class="el-dialog__footer">
        <span class="dialog-footer">
            <button  type="button" class="el-button el-button--danger" data-bs-dismiss="modal" aria-label="Close">
                <span class="">取消</span></button>
            <button class="el-button el-button--primary" aria-disabled="false" type="submit">
                <span class="">确认</span></button>
        </span>
    </footer>
    </form>
</div>